const express = require('express');
const { getUserById, addUser, getUnreadMessages } = require('../controllers/userController');

const router = express.Router();

router.get('/:id', getUserById);
router.post('/', addUser);
router.get('/:userId/notifications', getUnreadMessages);

module.exports = router; 